﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Heavy_Metals
{
    public partial class YJPDXX_MGST : Form
    {
        public YJPDXX_MGST()
        {
            InitializeComponent();
        }

        private void YJPDXX_MGST_Load(object sender, EventArgs e)
        {
            this.dataGridView1.Columns.Add("敏感受体类型", "敏感受体类型");
            this.dataGridView1.Columns.Add("敏感受体名称", "敏感受体名称");
            this.dataGridView1.Columns.Add("经度", "经度");
            this.dataGridView1.Columns.Add("纬度", "纬度");
            dataGridView1.Rows.Add("私人企业","大中化工","20.444","12.444");
            dataGridView1.Rows.Add("国有企业", "哈尔滨化工", "25.255", "64.245"); 

        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.textBox1.Text = "";
            this.textBox2.Text = "";
        }

        private void button2_Click(object sender, EventArgs e)
        {
            dataGridView1.Rows.Clear();
            dataGridView1.Rows.Add("私人企业", "大中化工", "20.444", "12.444");
        }

    }
}
